package com.sayimo.maker.mall.orders.service.impl;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sayimo.framework.common.AbstractBaseService;
import com.sayimo.framework.exception.DaoException;
import com.sayimo.framework.exception.ServiceException;
import com.sayimo.maker.mall.orders.dao.OrderReturnRefDao;
import com.sayimo.maker.mall.orders.service.OrdersReturnRefService;
import com.sayimo.maker.mall.orders.vo.OrderReturnRef;

/**
 * @Copyright (C)  广东省尚一互联网有限公司
 * @Project: schoolmallapi
 * @ClassName: OrdersReturnRefServiceImpl
 * @Description: 
 * @author:	wangyang
 * @date:	日期：2016年7月16日  时间：下午6:29:28
 * @version 2.0.0
 */
@Service(value="ordersReturnRefService")
public class OrdersReturnRefServiceImpl extends AbstractBaseService implements OrdersReturnRefService{

	private static Log logger = LogFactory.getLog(OrdersReturnRefServiceImpl.class);

	@Autowired
	private OrderReturnRefDao orderReturnRefDao;
	/** 
	* @Title: updateOrderReturnRef 
	* @Description: 
	* @param paramOrderReturnRef
	* @return void
	* @throws 
	*/
	@Override
	public void updateOrderReturnRef(OrderReturnRef paramOrderReturnRef)
			throws ServiceException {
		try {
		 this.orderReturnRefDao.updateOrderReturnRef(paramOrderReturnRef);
		} catch (DaoException e) {
			logger.error(e);
			throw new ServiceException(e);
		}
	}
}
